﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sebrae.Academico.InfraEstrutura.Core.UnitOfWork
{
    public interface IUnitOfWork : IDisposable
    {
        void Commit();
        void Rollback();
        void IniciarTransacao();

        // NHibernate.ISession Session { get; }
    }

    public interface IUnitOfWork<T> : IUnitOfWork
    {
        T Context { get; }
    }
}
